<?php
require_once __Dir__ . '/../simpletest/autorun.php';
require_once __Dir__ . '/../../Core/BonoHomeCore/BonoHomeCoreService.php';

class TestOfGetAccount extends UnitTestCase 
{
	/*
		Check a correct add answer
	*/
    function testCorrectGetAccount() 
	{
		$name = "test account"; 
		
		$service = new BonoHomeCoreService();
		$account = $service->getAccount($name);
		$this->assertTrue($account->response->Name == $name);
    }
	
	
	/*
		Check an invalid add answer
	*/
    function testInvalidGetAccount() 
	{
		//$this->assertTrue(true);
    }
}
?>